<?php
/* @var $this AdseController */
/* @var $model Adse */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'adse-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'zdz_id'); ?>
		<?php echo $form->textField($model,'zdz_id'); ?>
		<?php echo $form->error($model,'zdz_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_title'); ?>
		<?php echo $form->textField($model,'zds_title',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'zds_title'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_desc'); ?>
		<?php echo $form->textArea($model,'zds_desc',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'zds_desc'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_price'); ?>
		<?php echo $form->textField($model,'zds_price'); ?>
		<?php echo $form->error($model,'zds_price'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_name'); ?>
		<?php echo $form->textField($model,'zds_name',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'zds_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_mob'); ?>
		<?php echo $form->textField($model,'zds_mob',array('size'=>11,'maxlength'=>11)); ?>
		<?php echo $form->error($model,'zds_mob'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_image'); ?>
		<?php echo $form->textField($model,'zds_image'); ?>
		<?php echo $form->error($model,'zds_image'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_file_name'); ?>
		<?php echo $form->textField($model,'zds_file_name',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'zds_file_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_file_type'); ?>
		<?php echo $form->textField($model,'zds_file_type',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zds_file_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_file_url'); ?>
		<?php echo $form->textField($model,'zds_file_url',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zds_file_url'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_url'); ?>
		<?php echo $form->textField($model,'zds_url',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zds_url'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_img_alt'); ?>
		<?php echo $form->textField($model,'zds_img_alt',array('size'=>25,'maxlength'=>25)); ?>
		<?php echo $form->error($model,'zds_img_alt'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_start_time'); ?>
		<?php echo $form->textField($model,'zds_start_time'); ?>
		<?php echo $form->error($model,'zds_start_time'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_end_time'); ?>
		<?php echo $form->textField($model,'zds_end_time'); ?>
		<?php echo $form->error($model,'zds_end_time'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_priority'); ?>
		<?php echo $form->textField($model,'zds_priority'); ?>
		<?php echo $form->error($model,'zds_priority'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zds_hits'); ?>
		<?php echo $form->textField($model,'zds_hits'); ?>
		<?php echo $form->error($model,'zds_hits'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->